libxenlight: move logging macros to the public header
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 25 Nov 2009 14:19:50 +0000 (14:19 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 25 Nov 2009 14:19:50 +0000 (14:19 +0000)
commit1a2c608279791f722de31b7e6b60821e73e8a25f
tree466861997a31dd9d258566404c2931ade4027b2b
parent6eeeaeb211e6d1f9f676c7f5e4aaa0e000537977
libxenlight: move logging macros to the public header

This patch moves the logging macros to the public header so that they
can be reused by the client of the library.  It also refactors the
code to create the qemu logfile into a generic function that can be
reused to create generic xen logfiles under /var/log/xen.  Finally xl
is changed to log to file when running in background.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
tools/libxl/libxl.c
tools/libxl/libxl.h
tools/libxl/libxl_internal.h
tools/libxl/libxl_utils.c
tools/libxl/libxl_utils.h
tools/libxl/xl.c